package com.study.mike.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author kh
 */
@Data
public class TestTwo implements Serializable {
    private String username;
    private String password;
    private String flag;

    public Boolean getHello() {
        return hello = "".equals(hello) || hello == null ? false : hello;
    }

    private Boolean hello;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date testTime;


}
